home *** CD-ROM | disk | FTP | other *** search
- Path: comma.rhein.de!serpens!not-for-mail
- From: mlelstv@serpens.rhein.de (Michael van Elst)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: AS225 daemon launch?
- Date: 8 Jan 1996 17:45:29 +0100
- Organization: dis-
- Message-ID: <4crhn9$man@serpens.rhein.de>
- References: <19960106.7CB5338.12AAC@sdcc8.ucsd.edu> <mbs.46wn@adastra.cvl.va.us>
- NNTP-Posting-Host: serpens.rhein.de
-
- mbs@adastra.cvl.va.us (Michael B. Smith) writes:
-
- >socket.library makes 3 validation checks on the socket pointer
- >before allowing s_inherit() to succeed. It's not infallible, but
- >it's very unlikely that you'll be able to pick a correct value
- >to "fool" s_inherit().
-
- Well... I just tried with the value (sockptr + 12345) which should
- be an invalid pointer. s_inherit() returned 0, but the socket
- descriptor was not usuable. A subsequent s_inherit with just sockptr
- returned a -1.
-
- Seems that the validation checks have a bug.
-
- Regards,
- --
- Michael van Elst
-
- Internet: mlelstv@serpens.rhein.de
- "A potential Snark may lurk in every tree."
-